package com.macro.mall.portal.dao;

import com.macro.mall.portal.domain.CommentDetail;
import com.macro.mall.portal.domain.CommentInfo;
import com.macro.mall.portal.domain.UmsComment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author：Minxiao_Hao
 * @Description:
 * @name：UmsCommentDao
 * @Date：2024/10/26 13:51
 */
@Mapper
public interface UmsCommentDao {

    Integer addComment(UmsComment umsComment);

    List<CommentInfo> list(Long productId);

    String commentCount(Long productId);

    String goodRate(Long productId);
}
